import Http from "@/api/http";


//查询所有标签
export const getPage = function(paramData: any) {
    return Http.post('/label/getPage',paramData)
}


//修改楼
export const labelUpdate = function(paramData: any) {
    return Http.post('/label/update',paramData)
}


//新增楼
export const labelInsert = function(paramData: any) {
    return Http.post('/label/insert',paramData)
}

//删除
export const labelDelete = function(ids: [] | number[]) {
    // 确保ids是一个数组，并将其包装在一个对象中，该对象的键为'ids'
    const paramData =  ids ;
    return Http.post('/label/delete', paramData);
}